package com.cskaoyan.service;

import com.cskaoyan.bean.Storage;

import com.cskaoyan.vo.StorageListVo;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;

public interface StorageService {

    Storage insertStorage(MultipartFile file) throws IOException;

    StorageListVo list(Integer page, Integer limit, String sort, String order, String key, String name);

    int delete(Storage storage);

    int update(Storage storage);
}

